<?php

require_once("includes/config.php");

$login_username = $_COOKIE["login_username"];
$login_name = $_COOKIE["login_name"];
$login_level = $_COOKIE["login_level"];

$param_page = strtolower($_GET["page"]);

if($param_page=="") {
	$param_page="default";
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title><?=$site_title;?></title>
	<link href="stylesheets/screen.css" rel="stylesheet" type="text/css" title="Screen"/>
	<script src="includes/functions.js"></script>
	<link rel="stylesheet" type="text/css" href="includes/smenu/menu.css" />
    <script type="text/javascript" src="includes/smenu/menu.js" /> 
</head>
<body>
	<div class="page_menu">
		<? include("menu.php"); ?>
	</div>
	<div class="page_content">
		<? include("$param_page.php"); ?>
	</div>
</body>
</html>